-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
receiver/dockerstatsreceiver: add container.uptime metric #22851
Merged
mx-psi
merged 5 commits into
open-telemetry:main
from
gbbr:gbbr/dockerstats-container.uptime
Jun 12, 2023
Merged
receiver/dockerstatsreceiver: add container.uptime metric #22851
mx-psi
merged 5 commits into
open-telemetry:main
from
gbbr:gbbr/dockerstats-container.uptime
Jun 12, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gbbr
force-pushed
the
gbbr/dockerstats-container.uptime
branch
from
May 29, 2023 08:05
52565e2
to
be6d971
Compare
mx-psi
reviewed
May 29, 2023
gbbr
force-pushed
the
gbbr/dockerstats-container.uptime
branch
2 times, most recently
from
May 29, 2023 12:39
06abf36
to
3d11232
Compare
mx-psi
approved these changes
May 29, 2023
jamesmoessis
approved these changes
May 30, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
atoulme
reviewed
May 30, 2023
2 tasks
This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started.
gbbr
force-pushed
the
gbbr/dockerstats-container.uptime
branch
from
June 6, 2023 07:34
7fffc25
to
b96a789
Compare
songy23
approved these changes
Jun 7, 2023
@atoulme is this good to go from your side? |
needs a rebase |
atoulme
approved these changes
Jun 12, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
JimChenWYU
pushed a commit
to easyops-cn/opentelemetry-collector-contrib
that referenced
this pull request
Jun 30, 2023
commit 739e583 Author: Anthony Mirabella <[email protected]> Date: Tue Jun 20 18:11:41 2023 -0400 [chore] Prepare release v0.80.0 (open-telemetry#23584) The following commands were run to prepare this release: - make chlog-update VERSION=v0.80.0 - sed -i.bak s/0.79.0/0.80.0/g versions.yaml - make multimod-prerelease - make multimod-sync Additionally, changes from open-telemetry#23583 were incorporated. --------- Signed-off-by: Anthony J Mirabella <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit e988fca Author: Alex Boten <[email protected]> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <[email protected]> commit 42dbc6c Author: Mackenzie <[email protected]> Date: Tue Jun 20 19:51:21 2023 +0200 aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572) Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. This PR adds the unit to metrics where this is missing: - aerospike.node.query.tracked commit 200778b Author: Mackenzie <[email protected]> Date: Tue Jun 20 18:51:54 2023 +0200 [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575) This func is not used. Because the receiver is the metadata struct, it would need to be called directly. This also tests field Name -- which does not exist anymore (replaced by Type). **Note:** Validation of Type will be done as part of open-telemetry#23424 commit b726aee Author: Mend Renovate <[email protected]> Date: Tue Jun 20 18:49:27 2023 +0200 chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://togithub.com/actions/download-artifact) | action | major | `v2` -> `v3` | | [actions/upload-artifact](https://togithub.com/actions/upload-artifact) | action | major | `v2` -> `v3` | --- <details> <summary>actions/download-artifact</summary> [`v3`](https://togithub.com/actions/download-artifact/compare/v2...v3) [Compare Source](https://togithub.com/actions/download-artifact/compare/v2...v3) </details> <details> <summary>actions/upload-artifact</summary> [Compare Source](https://togithub.com/actions/upload-artifact/compare/v2...v3) </details> --- 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 9d38d84 Author: Tigran Najaryan <[email protected]> Date: Tue Jun 20 12:13:20 2023 -0400 [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455) - Added gzip and zstd tests to SAPM trace test. - Modified GenerateTraces to generate more variable data to make sure it is a more fair comparison when compression is enabled (otherwise it was compressing too well and was not representative of real-world workloads). This makes easier to see the impact of added zstd compression done in open-telemetry#23257 commit 9a5f723 Author: rubenruizdegauna <[email protected]> Date: Tue Jun 20 07:42:56 2023 +0200 [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451) Currently `process.cpu.utilization` is not sent when it is enabled if `process.cpu.time` is disabled. It should be sent independently of `process.cpu.time` commit ad2e101 Author: Mackenzie <[email protected]> Date: Tue Jun 20 07:21:06 2023 +0200 [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454) This PR adds the bytes unit to metrics where this is missing. unit is a required field, see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. commit d89a6e1 Author: Bartosz Sławianowski <[email protected]> Date: Mon Jun 19 21:13:53 2023 +0200 [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453) Kubernetes namespace is a cluster-scoped resource and doesn't seem to have populated `namespace` field in Kubernetes (at least on 1.25.x and 1.26.x). This PR changes it so the name of the namespace is simply taken from `name` field instead. commit 6ee548b Author: Antoine Toulme <[email protected]> Date: Mon Jun 19 10:51:31 2023 -0700 [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438) Switch k8s.node metrics to use pdata. commit 5fff104 Author: Gabriel Aszalos <[email protected]> Date: Mon Jun 19 13:13:11 2023 +0300 {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445) This change bumps the opentelemetry-mapping-go dependency to v0.5.0 which contains the metric remapping code. As a result, it is removed from the exporter. commit b719459 Author: Antoine Toulme <[email protected]> Date: Sat Jun 17 10:50:17 2023 -0700 [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437) Switch k8s.namespace metrics to use pdata. commit b2238b9 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 23:08:30 2023 -0700 [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434) To reduce RAM utilization. Resolves open-telemetry#23433 This is the last PR to reduce the memory footprint of k8s API informers. Other objects are more static and usually don't have a lot of instances in user clusters, so there is no need to reduce their size. commit 1c84fb2 Author: Dominik Rosiek <[email protected]> Date: Sat Jun 17 06:24:40 2023 +0200 feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274) **Description:** deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors` ``` 2023-06-12T08:29:43.306+0200 info service/telemetry.go:104 Setting up own telemetry... 2023-06-12T08:29:43.306+0200 info service/telemetry.go:127 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-06-12T08:29:43.306+0200 info [email protected]/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "metrics", "name": "logging"} 2023-06-12T08:29:43.308+0200 info service/service.go:131 Starting otelcontribcol... {"Version": "0.79.0-dev", "NumCPU": 16} 2023-06-12T08:29:43.308+0200 info extensions/extensions.go:30 Starting extensions... 2023-06-12T08:29:43.308+0200 warn [email protected]/scraper.go:60 `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead {"kind": "receiver", "name": "mysql", "data_type": "metrics"} 2023-06-12T08:29:43.308+0200 info service/service.go:148 Everything is ready. Begin running and processing data. ^C2023-06-12T08:29:44.055+0200 info otelcol/collector.go:227 Received signal from OS {"signal": "interrupt"} 2023-06-12T08:29:44.056+0200 info service/service.go:157 Starting shutdown... ``` --------- Signed-off-by: Dominik Rosiek <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]> Co-authored-by: Curtis Robert <[email protected]> commit c8cf780 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 15:00:42 2023 -0700 [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432) Do not store unused data for deployments, statefulsets and daemonsets in k8s API cache to reduce RAM usage. Updates open-telemetry#23433 commit 0ccde43 Author: Mackenzie <[email protected]> Date: Fri Jun 16 21:01:32 2023 +0200 Document extension as value for stability in metadata.yaml (open-telemetry#23426) Currently, this is used in all extensions (e.g. [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)), but this is not documented in `metadata-schema.yaml`. commit 8869951 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 11:51:00 2023 -0700 Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431) …rnal metrics (open-telemetry#23369)" This reverts commit 42bca6f. Revert it until open-telemetry#23369 (comment) is resolved to avoid adding it to the next release Co-authored-by: Ziqi Zhao <[email protected]> commit 6ad0589 Author: Mackenzie <[email protected]> Date: Fri Jun 16 19:21:23 2023 +0200 [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213) This PR adds the resource attributes added by the k8sattributes processor to the metadata.yaml file in the resource_attributes group. Only the attributes which are added by default (see [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration)) are marked as enabled. The default resource attributes defined in metadata.yaml are used to make the default extract::metadata list. Resource attributes are exposed through a different configuration interface. This is noted in the metadata.yaml file. commit a4585ce Author: Antoine Toulme <[email protected]> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <[email protected]> Date: Fri Jun 16 08:50:14 2023 -0700 [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416) commit 0ae07ba Author: Pablo Baeyens <[email protected]> Date: Fri Jun 16 11:05:52 2023 +0200 [chore] Clean up CODEOWNERS (open-telemetry#23382) **Description:** Clean up CODEOWNERS file to remove redundant lines; add these to the ALLOWLIST. **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG commit a5cdd2f Author: atshaw43 <[email protected]> Date: Fri Jun 16 00:11:17 2023 -0700 [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110 commit 42bca6f Author: Ziqi Zhao <[email protected]> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <[email protected]> commit 559f19c Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 19:25:45 2023 -0700 [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419) **Description:** Switch k8s.rq metrics to use pdata. commit 2e11f46 Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 19:25:20 2023 -0700 [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420) commit 5cfcdeb Author: Dmitrii Anoshin <[email protected]> Date: Thu Jun 15 17:59:51 2023 -0700 [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417) This change removes unused k8s informer data from the cache to reduce RAM utilization. Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage. commit 260f34f Author: linfn <[email protected]> Date: Fri Jun 16 02:44:06 2023 +0800 [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799) In Skywalking, parentSpanId == -1 indicates that the span is [the first span within the current segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119), rather than within the entire trace. Leaving parentSpanId blank can cause the call relationship to be lost when crossing segments. commit f709809 Author: Sam DeHaan <[email protected]> Date: Thu Jun 15 14:42:59 2023 -0400 [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363) Access Logs required permissions for monitoring were not documented in the receiver README. Should have been documented for open-telemetry#21182 commit 8885502 Author: Raj Nishtala <[email protected]> Date: Thu Jun 15 14:41:37 2023 -0400 [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414) Updating CODEOWNERS for processor/groupbyattrsprocessor commit d98e12b Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 10:16:33 2023 -0700 [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408) Rebase of open-telemetry#18250 with latest main. --------- Signed-off-by: Bogdan Drutu <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]> commit e6e1e76 Author: Dmitrii Anoshin <[email protected]> Date: Thu Jun 15 10:10:13 2023 -0700 [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403) Do not drop `container.cpu.time` metric in the default translations so it can be enabled in the `include_metrics` config option. This is the only metric that is dropped in the translations. All other metrics are being kept. commit 65a1dea Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 08:09:39 2023 -0700 [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410) Try sending data a few times to fix flakiness of test. **Link to tracking Issue:** Fixes open-telemetry#23381 commit 9f0032e Author: Pablo Baeyens <[email protected]> Date: Thu Jun 15 14:43:18 2023 +0200 [chore] make gotidy (open-telemetry#23412) Fixes main after open-telemetry#23257 commit ae15d8c Author: Tigran Najaryan <[email protected]> Date: Thu Jun 15 07:04:14 2023 -0400 Add zstd compression to SAPM receiver and exporter (open-telemetry#23257) - Updated github.com/signalfx/sapm-proto to v0.13.0 - Added "compression" config setting to sapm exporter - Added tests to verify various compression settings for sapm receiver and exporter. commit c2658a7 Author: Mike Dame <[email protected]> Date: Thu Jun 15 06:58:12 2023 -0400 [chore] Update GCP codeowners (open-telemetry#22781) Updating CODEOWNERS entries for GCP exporters commit c7462f2 Author: Antoine Toulme <[email protected]> Date: Wed Jun 14 23:40:16 2023 -0700 [chore] add k8sclusterreceiver e2e test (open-telemetry#23386) Adds an e2e test for k8sclusterreceiver with a golden metrics file. commit 1bf2547 Author: Andrzej Stencel <[email protected]> Date: Wed Jun 14 22:40:06 2023 +0200 [receiver/sqlquery] add support for logs (open-telemetry#20730) Fixes open-telemetry#20284 This introduces initial support for retrieving rows from SQL databases into logs. This PR aims to provide an initial, not feature rich, but production ready implementation. The following features are available: - Use `body_column` to select the column to use to fill the Body field of the created log - Use `tracking_start_value` and `tracking_column` properties to track rows that were already ingested - Use `storage` property to persist the tracking value across collector restarts In this state and marked as "development" stability, the component can be used for experimentation and to guide future development. There are definitely more things that need to be implemented for this component to be considered "alpha" quality - like filling in other [log fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) like Timestamp, ObservedTimestamp and others. I would like to add them in subsequent pull requests, as this pull request is already way too big. --------- Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> commit e7608db Author: Irina <[email protected]> Date: Wed Jun 14 19:50:04 2023 +0100 [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733) **Description:** There is currently no way to get the [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396) field from plog.LogRecord into Loki. Added Flags field to lokiEntry in this PR **Link to tracking Issue:** open-telemetry#21650 **Testing:** Added unit tests commit 50bbb9f Author: Ben B <[email protected]> Date: Wed Jun 14 20:42:33 2023 +0200 [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384) cc @jpkrohling @pavankrish123 Signed-off-by: Benedikt Bongartz <[email protected]> commit a4dda5b Author: Vastin <[email protected]> Date: Wed Jun 14 13:12:48 2023 -0500 [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626) **Description:** This PR adds [exponential histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram) support in `awsemfexporter`. The exponential histogram metrics are exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and Min are set as Statistical Set. The mid-point values and counts of exponential histogram buckets are translated into Values/Counts array of EMF log entry as well. **Testing:** The unit test is added and covers positive, zero and negative values. The integration test is performed with following OTEL collector configuration. ``` extensions: health_check: receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 processors: batch/metrics: timeout: 60s exporters: logging: verbosity: detailed awsemf: region: 'us-east-1' namespace: "Test" dimension_rollup_option: "NoDimensionRollup" service: pipelines: metrics: receivers: [otlp] processors: [batch/metrics] exporters: [awsemf, logging] extensions: [health_check] telemetry: logs: level: "debug" ``` It generated EMF log for histogram metrics in following JSON format. Notes: It doesn't cover negative values since histograms can [only record non-negative values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram) and will [drop negative values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44). ``` "latency": { "Values": [ 309.4277237034415, 323.12725941969757, 326.64588457862067, 344.8221530867399, 520.3933272846809, 531.7884573308439, 537.579253961712, 543.4331082335607, 549.3507067990806, 555.3327437881196, 561.3799208891041, 567.4929474313465, 720.1774681373079, 0 ], "Counts": [ 1, 1, 1, 1, 1, 3, 4, 2, 2, 3, 1, 1, 1, 22 ], "Max": 720, "Min": 0, "Count": 44, "Sum": 11265 } ``` commit f66845f Author: Ben B <[email protected]> Date: Wed Jun 14 20:09:35 2023 +0200 [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739) Closes open-telemetry#22737 --------- Signed-off-by: Benedikt Bongartz <[email protected]> commit 6a83a9a Author: Dominik Rosiek <[email protected]> Date: Wed Jun 14 19:11:38 2023 +0200 [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337) Deprecate options which are going to be removed **Link to tracking Issue:** open-telemetry#23059 --------- Signed-off-by: Dominik Rosiek <[email protected]> Co-authored-by: Mikołaj Świątek <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit 3faedfc Author: OpenTelemetry Bot <[email protected]> Date: Wed Jun 14 09:39:22 2023 -0700 [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380) Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awsxrayreceiver commit d9326aa Author: Alex Boten <[email protected]> Date: Wed Jun 14 09:13:30 2023 -0700 [chore] mark components as unmaintained (open-telemetry#23379) These components no longer have an active code owner as a result of Signed-off-by: Alex Boten <[email protected]> commit 8729c16 Author: Daniel Jaglowski <[email protected]> Date: Wed Jun 14 09:32:35 2023 -0600 [chore] Enable exhaustive linter for several modules (open-telemetry#23329) Updates open-telemetry#23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza commit 52d87f8 Author: Evan Bradley <[email protected]> Date: Wed Jun 14 11:30:51 2023 -0400 [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143) This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context. **Link to tracking Issue:** Implements open-telemetry#18461 Co-authored-by: Matej Gera <[email protected]> --------- Co-authored-by: Evan Bradley <[email protected]> Co-authored-by: Matej Gera <[email protected]> commit 31bfef7 Author: Alex Boten <[email protected]> Date: Wed Jun 14 08:18:27 2023 -0700 [chore] bump go version for linting (open-telemetry#23346) After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment) I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues. --------- Signed-off-by: Alex Boten <[email protected]> commit d79f3c0 Author: Curtis Robert <[email protected]> Date: Wed Jun 14 08:05:56 2023 -0700 [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368) As a result of issue open-telemetry#23246, a few components are now unmaintained. These need to be documented in the ALLOWLIST file. commit 19e2a2d Author: Tomáš Žďára <[email protected]> Date: Wed Jun 14 11:22:35 2023 +0200 DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250) * DSET-3998 - export Logs resource info based on export_resource_info_on_event configuration * DSET-3998 - simplify * DSET-3998 - improve docs * Fix log exporter to set AddEvents Event timestamp (ts) field to event observed timetamp in case LogRecord doesn't contain timestamp. Even though ObservedTimestamp should always be present, we fall back to current time in case it's not. In addition to that, remove duplicate and redundant "timestamp" attribute from the AddEvents event. * Add additional assertions. * Remove dummy debug logs. * Create export-logs-resource-info-based-configuration * address PR notes - fix changelog gen * fix docs typo * fix changelog file suffix --------- Co-authored-by: Tomaz Muraus <[email protected]> Co-authored-by: Tomaz Muraus <[email protected]> commit 5a582d9 Author: Antoine Toulme <[email protected]> Date: Wed Jun 14 00:31:28 2023 -0700 [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366) Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric. commit 16df49f Author: Sean Marciniak <[email protected]> Date: Wed Jun 14 12:00:31 2023 +0930 [chore] Fix datadog receiver flakey test. (open-telemetry#23336) * Use random address * Bind to localhost interface commit 9f854da Author: Mikołaj Świątek <[email protected]> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <[email protected]> Date: Tue Jun 13 12:57:55 2023 -0700 [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345) Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver commit 6bf41e4 Author: Mackenzie <[email protected]> Date: Tue Jun 13 18:33:39 2023 +0200 Add metadata.yaml as a requirement (open-telemetry#23340) Fixes: open-telemetry#20908. --------- Co-authored-by: Yang Song <[email protected]> commit 563fd6f Author: Alex Boten <[email protected]> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <[email protected]> commit d2c7c1f Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 13 09:45:00 2023 -0600 [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280) commit 375da69 Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 13 08:23:00 2023 -0600 [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281) * [chore] Deprecate unnecessary fileconsumer API * Add deprecation version and tentative removal version commit 6ac5285 Author: Dewald de Jager <[email protected]> Date: Tue Jun 13 11:20:41 2023 +0200 [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962) * Start adding the status information to the metadata schema documentation * Remove cmd from the list of possible classes * Fix spelling mistake Co-authored-by: Antoine Toulme <[email protected]> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <[email protected]> * Fix the tests after updating the example metadata file * Document how to use mdatagen and the schema of metadata.yaml * Add the stability levels for connectors * Change the receiver type so the tests pass * Update the generated documentation * Change the syntax used for string array types so that it is valid YAML --------- Co-authored-by: Antoine Toulme <[email protected]> commit 061eb3e Author: Mikołaj Świątek <[email protected]> Date: Tue Jun 13 06:29:11 2023 +0000 [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272) Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store. I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently. commit ab42d69 Author: zeno-splunk <[email protected]> Date: Mon Jun 12 22:36:54 2023 -0700 [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332) Update `kafka.brokers` metric to be non-monothonic sum instead of gauge commit 9e4d50f Author: Antoine Toulme <[email protected]> Date: Mon Jun 12 20:28:17 2023 -0700 remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248) Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus commit e0249e0 Author: Alex Boten <[email protected]> Date: Mon Jun 12 15:01:49 2023 -0700 [chore] forwardconnector was not listed in the modules script (open-telemetry#23330) this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently Signed-off-by: Alex Boten <[email protected]> commit 9d5526c Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 12 09:58:22 2023 -0600 [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255) commit bbea8aa Author: Trask Stalnaker <[email protected]> Date: Mon Jun 12 08:38:45 2023 -0700 Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268) commit 0f8e128 Author: Tyler Helmuth <[email protected]> Date: Mon Jun 12 08:45:16 2023 -0600 [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259) Update readme commit 6d35fd7 Author: Dominik Rosiek <[email protected]> Date: Mon Jun 12 16:33:47 2023 +0200 [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211) Signed-off-by: Dominik Rosiek <[email protected]> commit 88ac450 Author: Gabriel Aszalos <[email protected]> Date: Mon Jun 12 17:31:02 2023 +0300 receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851) * receiver/dockerstatsreceiver: add container.uptime metric This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started. * Add scraper error for invalid time format * Disable by default * empty commit 6947357 Author: Yang Song <[email protected]> Date: Mon Jun 12 10:27:42 2023 -0400 [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240) * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation * Add to changelog * Update exporter/datadogexporter/config.go Co-authored-by: Pablo Baeyens <[email protected]> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <[email protected]> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <[email protected]> commit b247914 Author: Raj Nishtala <[email protected]> Date: Mon Jun 12 10:26:18 2023 -0400 [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210) * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string commit 3b62a17 Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 12 07:50:37 2023 -0600 [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254) * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable * Update .chloggen/elastic-stable-nodevesiongate.yaml Co-authored-by: Pablo Baeyens <[email protected]> --------- Co-authored-by: Pablo Baeyens <[email protected]> commit 6249ae8 Author: Dominik Rosiek <[email protected]> Date: Mon Jun 12 13:09:13 2023 +0200 resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740) * resourcedetectionprocessor: use gopsutil for host id detection Signed-off-by: Dominik Rosiek <[email protected]> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]> commit 820510e Author: Ziqi Zhao <[email protected]> Date: Mon Jun 12 18:10:33 2023 +0800 [chore] [all] Enable exhaustive linter on golangci-lint (open-telemetry#23242) Enable exhaustive linter on golangci-lint Signed-off-by: Ziqi Zhao <[email protected]> commit 752330e Author: shalper2 <[email protected]> Date: Sun Jun 11 10:44:14 2023 -0500 [receiver/webhookevent] Enable component (open-telemetry#23239) Graduate webhookeventreceiver component to Alpha
JimChenWYU
added a commit
to easyops-cn/opentelemetry-collector-contrib
that referenced
this pull request
Jun 30, 2023
commit 739e583 Author: Anthony Mirabella <[email protected]> Date: Tue Jun 20 18:11:41 2023 -0400 [chore] Prepare release v0.80.0 (open-telemetry#23584) The following commands were run to prepare this release: - make chlog-update VERSION=v0.80.0 - sed -i.bak s/0.79.0/0.80.0/g versions.yaml - make multimod-prerelease - make multimod-sync Additionally, changes from open-telemetry#23583 were incorporated. --------- Signed-off-by: Anthony J Mirabella <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit e988fca Author: Alex Boten <[email protected]> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <[email protected]> commit 42dbc6c Author: Mackenzie <[email protected]> Date: Tue Jun 20 19:51:21 2023 +0200 aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572) Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. This PR adds the unit to metrics where this is missing: - aerospike.node.query.tracked commit 200778b Author: Mackenzie <[email protected]> Date: Tue Jun 20 18:51:54 2023 +0200 [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575) This func is not used. Because the receiver is the metadata struct, it would need to be called directly. This also tests field Name -- which does not exist anymore (replaced by Type). **Note:** Validation of Type will be done as part of open-telemetry#23424 commit b726aee Author: Mend Renovate <[email protected]> Date: Tue Jun 20 18:49:27 2023 +0200 chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://togithub.com/actions/download-artifact) | action | major | `v2` -> `v3` | | [actions/upload-artifact](https://togithub.com/actions/upload-artifact) | action | major | `v2` -> `v3` | --- <details> <summary>actions/download-artifact</summary> [`v3`](https://togithub.com/actions/download-artifact/compare/v2...v3) [Compare Source](https://togithub.com/actions/download-artifact/compare/v2...v3) </details> <details> <summary>actions/upload-artifact</summary> [Compare Source](https://togithub.com/actions/upload-artifact/compare/v2...v3) </details> --- 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 9d38d84 Author: Tigran Najaryan <[email protected]> Date: Tue Jun 20 12:13:20 2023 -0400 [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455) - Added gzip and zstd tests to SAPM trace test. - Modified GenerateTraces to generate more variable data to make sure it is a more fair comparison when compression is enabled (otherwise it was compressing too well and was not representative of real-world workloads). This makes easier to see the impact of added zstd compression done in open-telemetry#23257 commit 9a5f723 Author: rubenruizdegauna <[email protected]> Date: Tue Jun 20 07:42:56 2023 +0200 [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451) Currently `process.cpu.utilization` is not sent when it is enabled if `process.cpu.time` is disabled. It should be sent independently of `process.cpu.time` commit ad2e101 Author: Mackenzie <[email protected]> Date: Tue Jun 20 07:21:06 2023 +0200 [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454) This PR adds the bytes unit to metrics where this is missing. unit is a required field, see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. commit d89a6e1 Author: Bartosz Sławianowski <[email protected]> Date: Mon Jun 19 21:13:53 2023 +0200 [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453) Kubernetes namespace is a cluster-scoped resource and doesn't seem to have populated `namespace` field in Kubernetes (at least on 1.25.x and 1.26.x). This PR changes it so the name of the namespace is simply taken from `name` field instead. commit 6ee548b Author: Antoine Toulme <[email protected]> Date: Mon Jun 19 10:51:31 2023 -0700 [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438) Switch k8s.node metrics to use pdata. commit 5fff104 Author: Gabriel Aszalos <[email protected]> Date: Mon Jun 19 13:13:11 2023 +0300 {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445) This change bumps the opentelemetry-mapping-go dependency to v0.5.0 which contains the metric remapping code. As a result, it is removed from the exporter. commit b719459 Author: Antoine Toulme <[email protected]> Date: Sat Jun 17 10:50:17 2023 -0700 [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437) Switch k8s.namespace metrics to use pdata. commit b2238b9 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 23:08:30 2023 -0700 [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434) To reduce RAM utilization. Resolves open-telemetry#23433 This is the last PR to reduce the memory footprint of k8s API informers. Other objects are more static and usually don't have a lot of instances in user clusters, so there is no need to reduce their size. commit 1c84fb2 Author: Dominik Rosiek <[email protected]> Date: Sat Jun 17 06:24:40 2023 +0200 feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274) **Description:** deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors` ``` 2023-06-12T08:29:43.306+0200 info service/telemetry.go:104 Setting up own telemetry... 2023-06-12T08:29:43.306+0200 info service/telemetry.go:127 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-06-12T08:29:43.306+0200 info [email protected]/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "metrics", "name": "logging"} 2023-06-12T08:29:43.308+0200 info service/service.go:131 Starting otelcontribcol... {"Version": "0.79.0-dev", "NumCPU": 16} 2023-06-12T08:29:43.308+0200 info extensions/extensions.go:30 Starting extensions... 2023-06-12T08:29:43.308+0200 warn [email protected]/scraper.go:60 `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead {"kind": "receiver", "name": "mysql", "data_type": "metrics"} 2023-06-12T08:29:43.308+0200 info service/service.go:148 Everything is ready. Begin running and processing data. ^C2023-06-12T08:29:44.055+0200 info otelcol/collector.go:227 Received signal from OS {"signal": "interrupt"} 2023-06-12T08:29:44.056+0200 info service/service.go:157 Starting shutdown... ``` --------- Signed-off-by: Dominik Rosiek <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]> Co-authored-by: Curtis Robert <[email protected]> commit c8cf780 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 15:00:42 2023 -0700 [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432) Do not store unused data for deployments, statefulsets and daemonsets in k8s API cache to reduce RAM usage. Updates open-telemetry#23433 commit 0ccde43 Author: Mackenzie <[email protected]> Date: Fri Jun 16 21:01:32 2023 +0200 Document extension as value for stability in metadata.yaml (open-telemetry#23426) Currently, this is used in all extensions (e.g. [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)), but this is not documented in `metadata-schema.yaml`. commit 8869951 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 11:51:00 2023 -0700 Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431) …rnal metrics (open-telemetry#23369)" This reverts commit 42bca6f. Revert it until open-telemetry#23369 (comment) is resolved to avoid adding it to the next release Co-authored-by: Ziqi Zhao <[email protected]> commit 6ad0589 Author: Mackenzie <[email protected]> Date: Fri Jun 16 19:21:23 2023 +0200 [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213) This PR adds the resource attributes added by the k8sattributes processor to the metadata.yaml file in the resource_attributes group. Only the attributes which are added by default (see [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration)) are marked as enabled. The default resource attributes defined in metadata.yaml are used to make the default extract::metadata list. Resource attributes are exposed through a different configuration interface. This is noted in the metadata.yaml file. commit a4585ce Author: Antoine Toulme <[email protected]> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <[email protected]> Date: Fri Jun 16 08:50:14 2023 -0700 [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416) commit 0ae07ba Author: Pablo Baeyens <[email protected]> Date: Fri Jun 16 11:05:52 2023 +0200 [chore] Clean up CODEOWNERS (open-telemetry#23382) **Description:** Clean up CODEOWNERS file to remove redundant lines; add these to the ALLOWLIST. **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG commit a5cdd2f Author: atshaw43 <[email protected]> Date: Fri Jun 16 00:11:17 2023 -0700 [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110 commit 42bca6f Author: Ziqi Zhao <[email protected]> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <[email protected]> commit 559f19c Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 19:25:45 2023 -0700 [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419) **Description:** Switch k8s.rq metrics to use pdata. commit 2e11f46 Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 19:25:20 2023 -0700 [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420) commit 5cfcdeb Author: Dmitrii Anoshin <[email protected]> Date: Thu Jun 15 17:59:51 2023 -0700 [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417) This change removes unused k8s informer data from the cache to reduce RAM utilization. Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage. commit 260f34f Author: linfn <[email protected]> Date: Fri Jun 16 02:44:06 2023 +0800 [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799) In Skywalking, parentSpanId == -1 indicates that the span is [the first span within the current segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119), rather than within the entire trace. Leaving parentSpanId blank can cause the call relationship to be lost when crossing segments. commit f709809 Author: Sam DeHaan <[email protected]> Date: Thu Jun 15 14:42:59 2023 -0400 [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363) Access Logs required permissions for monitoring were not documented in the receiver README. Should have been documented for open-telemetry#21182 commit 8885502 Author: Raj Nishtala <[email protected]> Date: Thu Jun 15 14:41:37 2023 -0400 [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414) Updating CODEOWNERS for processor/groupbyattrsprocessor commit d98e12b Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 10:16:33 2023 -0700 [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408) Rebase of open-telemetry#18250 with latest main. --------- Signed-off-by: Bogdan Drutu <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]> commit e6e1e76 Author: Dmitrii Anoshin <[email protected]> Date: Thu Jun 15 10:10:13 2023 -0700 [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403) Do not drop `container.cpu.time` metric in the default translations so it can be enabled in the `include_metrics` config option. This is the only metric that is dropped in the translations. All other metrics are being kept. commit 65a1dea Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 08:09:39 2023 -0700 [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410) Try sending data a few times to fix flakiness of test. **Link to tracking Issue:** Fixes open-telemetry#23381 commit 9f0032e Author: Pablo Baeyens <[email protected]> Date: Thu Jun 15 14:43:18 2023 +0200 [chore] make gotidy (open-telemetry#23412) Fixes main after open-telemetry#23257 commit ae15d8c Author: Tigran Najaryan <[email protected]> Date: Thu Jun 15 07:04:14 2023 -0400 Add zstd compression to SAPM receiver and exporter (open-telemetry#23257) - Updated github.com/signalfx/sapm-proto to v0.13.0 - Added "compression" config setting to sapm exporter - Added tests to verify various compression settings for sapm receiver and exporter. commit c2658a7 Author: Mike Dame <[email protected]> Date: Thu Jun 15 06:58:12 2023 -0400 [chore] Update GCP codeowners (open-telemetry#22781) Updating CODEOWNERS entries for GCP exporters commit c7462f2 Author: Antoine Toulme <[email protected]> Date: Wed Jun 14 23:40:16 2023 -0700 [chore] add k8sclusterreceiver e2e test (open-telemetry#23386) Adds an e2e test for k8sclusterreceiver with a golden metrics file. commit 1bf2547 Author: Andrzej Stencel <[email protected]> Date: Wed Jun 14 22:40:06 2023 +0200 [receiver/sqlquery] add support for logs (open-telemetry#20730) Fixes open-telemetry#20284 This introduces initial support for retrieving rows from SQL databases into logs. This PR aims to provide an initial, not feature rich, but production ready implementation. The following features are available: - Use `body_column` to select the column to use to fill the Body field of the created log - Use `tracking_start_value` and `tracking_column` properties to track rows that were already ingested - Use `storage` property to persist the tracking value across collector restarts In this state and marked as "development" stability, the component can be used for experimentation and to guide future development. There are definitely more things that need to be implemented for this component to be considered "alpha" quality - like filling in other [log fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) like Timestamp, ObservedTimestamp and others. I would like to add them in subsequent pull requests, as this pull request is already way too big. --------- Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> commit e7608db Author: Irina <[email protected]> Date: Wed Jun 14 19:50:04 2023 +0100 [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733) **Description:** There is currently no way to get the [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396) field from plog.LogRecord into Loki. Added Flags field to lokiEntry in this PR **Link to tracking Issue:** open-telemetry#21650 **Testing:** Added unit tests commit 50bbb9f Author: Ben B <[email protected]> Date: Wed Jun 14 20:42:33 2023 +0200 [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384) cc @jpkrohling @pavankrish123 Signed-off-by: Benedikt Bongartz <[email protected]> commit a4dda5b Author: Vastin <[email protected]> Date: Wed Jun 14 13:12:48 2023 -0500 [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626) **Description:** This PR adds [exponential histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram) support in `awsemfexporter`. The exponential histogram metrics are exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and Min are set as Statistical Set. The mid-point values and counts of exponential histogram buckets are translated into Values/Counts array of EMF log entry as well. **Testing:** The unit test is added and covers positive, zero and negative values. The integration test is performed with following OTEL collector configuration. ``` extensions: health_check: receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 processors: batch/metrics: timeout: 60s exporters: logging: verbosity: detailed awsemf: region: 'us-east-1' namespace: "Test" dimension_rollup_option: "NoDimensionRollup" service: pipelines: metrics: receivers: [otlp] processors: [batch/metrics] exporters: [awsemf, logging] extensions: [health_check] telemetry: logs: level: "debug" ``` It generated EMF log for histogram metrics in following JSON format. Notes: It doesn't cover negative values since histograms can [only record non-negative values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram) and will [drop negative values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44). ``` "latency": { "Values": [ 309.4277237034415, 323.12725941969757, 326.64588457862067, 344.8221530867399, 520.3933272846809, 531.7884573308439, 537.579253961712, 543.4331082335607, 549.3507067990806, 555.3327437881196, 561.3799208891041, 567.4929474313465, 720.1774681373079, 0 ], "Counts": [ 1, 1, 1, 1, 1, 3, 4, 2, 2, 3, 1, 1, 1, 22 ], "Max": 720, "Min": 0, "Count": 44, "Sum": 11265 } ``` commit f66845f Author: Ben B <[email protected]> Date: Wed Jun 14 20:09:35 2023 +0200 [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739) Closes open-telemetry#22737 --------- Signed-off-by: Benedikt Bongartz <[email protected]> commit 6a83a9a Author: Dominik Rosiek <[email protected]> Date: Wed Jun 14 19:11:38 2023 +0200 [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337) Deprecate options which are going to be removed **Link to tracking Issue:** open-telemetry#23059 --------- Signed-off-by: Dominik Rosiek <[email protected]> Co-authored-by: Mikołaj Świątek <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit 3faedfc Author: OpenTelemetry Bot <[email protected]> Date: Wed Jun 14 09:39:22 2023 -0700 [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380) Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awsxrayreceiver commit d9326aa Author: Alex Boten <[email protected]> Date: Wed Jun 14 09:13:30 2023 -0700 [chore] mark components as unmaintained (open-telemetry#23379) These components no longer have an active code owner as a result of Signed-off-by: Alex Boten <[email protected]> commit 8729c16 Author: Daniel Jaglowski <[email protected]> Date: Wed Jun 14 09:32:35 2023 -0600 [chore] Enable exhaustive linter for several modules (open-telemetry#23329) Updates open-telemetry#23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza commit 52d87f8 Author: Evan Bradley <[email protected]> Date: Wed Jun 14 11:30:51 2023 -0400 [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143) This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context. **Link to tracking Issue:** Implements open-telemetry#18461 Co-authored-by: Matej Gera <[email protected]> --------- Co-authored-by: Evan Bradley <[email protected]> Co-authored-by: Matej Gera <[email protected]> commit 31bfef7 Author: Alex Boten <[email protected]> Date: Wed Jun 14 08:18:27 2023 -0700 [chore] bump go version for linting (open-telemetry#23346) After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment) I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues. --------- Signed-off-by: Alex Boten <[email protected]> commit d79f3c0 Author: Curtis Robert <[email protected]> Date: Wed Jun 14 08:05:56 2023 -0700 [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368) As a result of issue open-telemetry#23246, a few components are now unmaintained. These need to be documented in the ALLOWLIST file. commit 19e2a2d Author: Tomáš Žďára <[email protected]> Date: Wed Jun 14 11:22:35 2023 +0200 DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250) * DSET-3998 - export Logs resource info based on export_resource_info_on_event configuration * DSET-3998 - simplify * DSET-3998 - improve docs * Fix log exporter to set AddEvents Event timestamp (ts) field to event observed timetamp in case LogRecord doesn't contain timestamp. Even though ObservedTimestamp should always be present, we fall back to current time in case it's not. In addition to that, remove duplicate and redundant "timestamp" attribute from the AddEvents event. * Add additional assertions. * Remove dummy debug logs. * Create export-logs-resource-info-based-configuration * address PR notes - fix changelog gen * fix docs typo * fix changelog file suffix --------- Co-authored-by: Tomaz Muraus <[email protected]> Co-authored-by: Tomaz Muraus <[email protected]> commit 5a582d9 Author: Antoine Toulme <[email protected]> Date: Wed Jun 14 00:31:28 2023 -0700 [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366) Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric. commit 16df49f Author: Sean Marciniak <[email protected]> Date: Wed Jun 14 12:00:31 2023 +0930 [chore] Fix datadog receiver flakey test. (open-telemetry#23336) * Use random address * Bind to localhost interface commit 9f854da Author: Mikołaj Świątek <[email protected]> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <[email protected]> Date: Tue Jun 13 12:57:55 2023 -0700 [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345) Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver commit 6bf41e4 Author: Mackenzie <[email protected]> Date: Tue Jun 13 18:33:39 2023 +0200 Add metadata.yaml as a requirement (open-telemetry#23340) Fixes: open-telemetry#20908. --------- Co-authored-by: Yang Song <[email protected]> commit 563fd6f Author: Alex Boten <[email protected]> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <[email protected]> commit d2c7c1f Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 13 09:45:00 2023 -0600 [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280) commit 375da69 Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 13 08:23:00 2023 -0600 [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281) * [chore] Deprecate unnecessary fileconsumer API * Add deprecation version and tentative removal version commit 6ac5285 Author: Dewald de Jager <[email protected]> Date: Tue Jun 13 11:20:41 2023 +0200 [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962) * Start adding the status information to the metadata schema documentation * Remove cmd from the list of possible classes * Fix spelling mistake Co-authored-by: Antoine Toulme <[email protected]> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <[email protected]> * Fix the tests after updating the example metadata file * Document how to use mdatagen and the schema of metadata.yaml * Add the stability levels for connectors * Change the receiver type so the tests pass * Update the generated documentation * Change the syntax used for string array types so that it is valid YAML --------- Co-authored-by: Antoine Toulme <[email protected]> commit 061eb3e Author: Mikołaj Świątek <[email protected]> Date: Tue Jun 13 06:29:11 2023 +0000 [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272) Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store. I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently. commit ab42d69 Author: zeno-splunk <[email protected]> Date: Mon Jun 12 22:36:54 2023 -0700 [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332) Update `kafka.brokers` metric to be non-monothonic sum instead of gauge commit 9e4d50f Author: Antoine Toulme <[email protected]> Date: Mon Jun 12 20:28:17 2023 -0700 remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248) Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus commit e0249e0 Author: Alex Boten <[email protected]> Date: Mon Jun 12 15:01:49 2023 -0700 [chore] forwardconnector was not listed in the modules script (open-telemetry#23330) this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently Signed-off-by: Alex Boten <[email protected]> commit 9d5526c Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 12 09:58:22 2023 -0600 [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255) commit bbea8aa Author: Trask Stalnaker <[email protected]> Date: Mon Jun 12 08:38:45 2023 -0700 Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268) commit 0f8e128 Author: Tyler Helmuth <[email protected]> Date: Mon Jun 12 08:45:16 2023 -0600 [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259) Update readme commit 6d35fd7 Author: Dominik Rosiek <[email protected]> Date: Mon Jun 12 16:33:47 2023 +0200 [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211) Signed-off-by: Dominik Rosiek <[email protected]> commit 88ac450 Author: Gabriel Aszalos <[email protected]> Date: Mon Jun 12 17:31:02 2023 +0300 receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851) * receiver/dockerstatsreceiver: add container.uptime metric This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started. * Add scraper error for invalid time format * Disable by default * empty commit 6947357 Author: Yang Song <[email protected]> Date: Mon Jun 12 10:27:42 2023 -0400 [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240) * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation * Add to changelog * Update exporter/datadogexporter/config.go Co-authored-by: Pablo Baeyens <[email protected]> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <[email protected]> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <[email protected]> commit b247914 Author: Raj Nishtala <[email protected]> Date: Mon Jun 12 10:26:18 2023 -0400 [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210) * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string commit 3b62a17 Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 12 07:50:37 2023 -0600 [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254) * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable * Update .chloggen/elastic-stable-nodevesiongate.yaml Co-authored-by: Pablo Baeyens <[email protected]> --------- Co-authored-by: Pablo Baeyens <[email protected]> commit 6249ae8 Author: Dominik Rosiek <[email protected]> Date: Mon Jun 12 13:09:13 2023 +0200 resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740) * resourcedetectionprocessor: use gopsutil for host id detection Signed-off-by: Dominik Rosiek <[email protected]> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]> commit 820510e Author: Ziqi Zhao <[email protected]> Date: Mon Jun 12 18:10:33 2023 +0800 [chore] [all] Enable exhaustive linter on golangci-lint (open-telemetry#23242) Enable exhaustive linter on golangci-lint Signed-off-by: Ziqi Zhao <[email protected]> commit 752330e Author: shalper2 <[email protected]> Date: Sun Jun 11 10:44:14 2023 -0500 [receiver/webhookevent] Enable component (open-telemetry#23239) Graduate webhookeventreceiver component to Alpha Co-authored-by: jimchen <[email protected]>
Caleb-Hurshman
pushed a commit
to observIQ/opentelemetry-collector-contrib
that referenced
this pull request
Jul 6, 2023
…etry#22851) * receiver/dockerstatsreceiver: add container.uptime metric This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started. * Add scraper error for invalid time format * Disable by default * empty
JimChenWYU
pushed a commit
to easyops-cn/opentelemetry-collector-contrib
that referenced
this pull request
Jul 8, 2023
commit 739e583 Author: Anthony Mirabella <[email protected]> Date: Tue Jun 20 18:11:41 2023 -0400 [chore] Prepare release v0.80.0 (open-telemetry#23584) The following commands were run to prepare this release: - make chlog-update VERSION=v0.80.0 - sed -i.bak s/0.79.0/0.80.0/g versions.yaml - make multimod-prerelease - make multimod-sync Additionally, changes from open-telemetry#23583 were incorporated. --------- Signed-off-by: Anthony J Mirabella <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit e988fca Author: Alex Boten <[email protected]> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <[email protected]> commit 42dbc6c Author: Mackenzie <[email protected]> Date: Tue Jun 20 19:51:21 2023 +0200 aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572) Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. This PR adds the unit to metrics where this is missing: - aerospike.node.query.tracked commit 200778b Author: Mackenzie <[email protected]> Date: Tue Jun 20 18:51:54 2023 +0200 [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575) This func is not used. Because the receiver is the metadata struct, it would need to be called directly. This also tests field Name -- which does not exist anymore (replaced by Type). **Note:** Validation of Type will be done as part of open-telemetry#23424 commit b726aee Author: Mend Renovate <[email protected]> Date: Tue Jun 20 18:49:27 2023 +0200 chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://togithub.com/actions/download-artifact) | action | major | `v2` -> `v3` | | [actions/upload-artifact](https://togithub.com/actions/upload-artifact) | action | major | `v2` -> `v3` | --- <details> <summary>actions/download-artifact</summary> [`v3`](https://togithub.com/actions/download-artifact/compare/v2...v3) [Compare Source](https://togithub.com/actions/download-artifact/compare/v2...v3) </details> <details> <summary>actions/upload-artifact</summary> [Compare Source](https://togithub.com/actions/upload-artifact/compare/v2...v3) </details> --- 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 9d38d84 Author: Tigran Najaryan <[email protected]> Date: Tue Jun 20 12:13:20 2023 -0400 [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455) - Added gzip and zstd tests to SAPM trace test. - Modified GenerateTraces to generate more variable data to make sure it is a more fair comparison when compression is enabled (otherwise it was compressing too well and was not representative of real-world workloads). This makes easier to see the impact of added zstd compression done in open-telemetry#23257 commit 9a5f723 Author: rubenruizdegauna <[email protected]> Date: Tue Jun 20 07:42:56 2023 +0200 [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451) Currently `process.cpu.utilization` is not sent when it is enabled if `process.cpu.time` is disabled. It should be sent independently of `process.cpu.time` commit ad2e101 Author: Mackenzie <[email protected]> Date: Tue Jun 20 07:21:06 2023 +0200 [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454) This PR adds the bytes unit to metrics where this is missing. unit is a required field, see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. commit d89a6e1 Author: Bartosz Sławianowski <[email protected]> Date: Mon Jun 19 21:13:53 2023 +0200 [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453) Kubernetes namespace is a cluster-scoped resource and doesn't seem to have populated `namespace` field in Kubernetes (at least on 1.25.x and 1.26.x). This PR changes it so the name of the namespace is simply taken from `name` field instead. commit 6ee548b Author: Antoine Toulme <[email protected]> Date: Mon Jun 19 10:51:31 2023 -0700 [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438) Switch k8s.node metrics to use pdata. commit 5fff104 Author: Gabriel Aszalos <[email protected]> Date: Mon Jun 19 13:13:11 2023 +0300 {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445) This change bumps the opentelemetry-mapping-go dependency to v0.5.0 which contains the metric remapping code. As a result, it is removed from the exporter. commit b719459 Author: Antoine Toulme <[email protected]> Date: Sat Jun 17 10:50:17 2023 -0700 [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437) Switch k8s.namespace metrics to use pdata. commit b2238b9 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 23:08:30 2023 -0700 [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434) To reduce RAM utilization. Resolves open-telemetry#23433 This is the last PR to reduce the memory footprint of k8s API informers. Other objects are more static and usually don't have a lot of instances in user clusters, so there is no need to reduce their size. commit 1c84fb2 Author: Dominik Rosiek <[email protected]> Date: Sat Jun 17 06:24:40 2023 +0200 feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274) **Description:** deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors` ``` 2023-06-12T08:29:43.306+0200 info service/telemetry.go:104 Setting up own telemetry... 2023-06-12T08:29:43.306+0200 info service/telemetry.go:127 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-06-12T08:29:43.306+0200 info [email protected]/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "metrics", "name": "logging"} 2023-06-12T08:29:43.308+0200 info service/service.go:131 Starting otelcontribcol... {"Version": "0.79.0-dev", "NumCPU": 16} 2023-06-12T08:29:43.308+0200 info extensions/extensions.go:30 Starting extensions... 2023-06-12T08:29:43.308+0200 warn [email protected]/scraper.go:60 `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead {"kind": "receiver", "name": "mysql", "data_type": "metrics"} 2023-06-12T08:29:43.308+0200 info service/service.go:148 Everything is ready. Begin running and processing data. ^C2023-06-12T08:29:44.055+0200 info otelcol/collector.go:227 Received signal from OS {"signal": "interrupt"} 2023-06-12T08:29:44.056+0200 info service/service.go:157 Starting shutdown... ``` --------- Signed-off-by: Dominik Rosiek <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]> Co-authored-by: Curtis Robert <[email protected]> commit c8cf780 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 15:00:42 2023 -0700 [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432) Do not store unused data for deployments, statefulsets and daemonsets in k8s API cache to reduce RAM usage. Updates open-telemetry#23433 commit 0ccde43 Author: Mackenzie <[email protected]> Date: Fri Jun 16 21:01:32 2023 +0200 Document extension as value for stability in metadata.yaml (open-telemetry#23426) Currently, this is used in all extensions (e.g. [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)), but this is not documented in `metadata-schema.yaml`. commit 8869951 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 11:51:00 2023 -0700 Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431) …rnal metrics (open-telemetry#23369)" This reverts commit 42bca6f. Revert it until open-telemetry#23369 (comment) is resolved to avoid adding it to the next release Co-authored-by: Ziqi Zhao <[email protected]> commit 6ad0589 Author: Mackenzie <[email protected]> Date: Fri Jun 16 19:21:23 2023 +0200 [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213) This PR adds the resource attributes added by the k8sattributes processor to the metadata.yaml file in the resource_attributes group. Only the attributes which are added by default (see [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration)) are marked as enabled. The default resource attributes defined in metadata.yaml are used to make the default extract::metadata list. Resource attributes are exposed through a different configuration interface. This is noted in the metadata.yaml file. commit a4585ce Author: Antoine Toulme <[email protected]> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <[email protected]> Date: Fri Jun 16 08:50:14 2023 -0700 [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416) commit 0ae07ba Author: Pablo Baeyens <[email protected]> Date: Fri Jun 16 11:05:52 2023 +0200 [chore] Clean up CODEOWNERS (open-telemetry#23382) **Description:** Clean up CODEOWNERS file to remove redundant lines; add these to the ALLOWLIST. **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG commit a5cdd2f Author: atshaw43 <[email protected]> Date: Fri Jun 16 00:11:17 2023 -0700 [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110 commit 42bca6f Author: Ziqi Zhao <[email protected]> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <[email protected]> commit 559f19c Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 19:25:45 2023 -0700 [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419) **Description:** Switch k8s.rq metrics to use pdata. commit 2e11f46 Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 19:25:20 2023 -0700 [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420) commit 5cfcdeb Author: Dmitrii Anoshin <[email protected]> Date: Thu Jun 15 17:59:51 2023 -0700 [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417) This change removes unused k8s informer data from the cache to reduce RAM utilization. Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage. commit 260f34f Author: linfn <[email protected]> Date: Fri Jun 16 02:44:06 2023 +0800 [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799) In Skywalking, parentSpanId == -1 indicates that the span is [the first span within the current segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119), rather than within the entire trace. Leaving parentSpanId blank can cause the call relationship to be lost when crossing segments. commit f709809 Author: Sam DeHaan <[email protected]> Date: Thu Jun 15 14:42:59 2023 -0400 [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363) Access Logs required permissions for monitoring were not documented in the receiver README. Should have been documented for open-telemetry#21182 commit 8885502 Author: Raj Nishtala <[email protected]> Date: Thu Jun 15 14:41:37 2023 -0400 [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414) Updating CODEOWNERS for processor/groupbyattrsprocessor commit d98e12b Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 10:16:33 2023 -0700 [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408) Rebase of open-telemetry#18250 with latest main. --------- Signed-off-by: Bogdan Drutu <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]> commit e6e1e76 Author: Dmitrii Anoshin <[email protected]> Date: Thu Jun 15 10:10:13 2023 -0700 [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403) Do not drop `container.cpu.time` metric in the default translations so it can be enabled in the `include_metrics` config option. This is the only metric that is dropped in the translations. All other metrics are being kept. commit 65a1dea Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 08:09:39 2023 -0700 [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410) Try sending data a few times to fix flakiness of test. **Link to tracking Issue:** Fixes open-telemetry#23381 commit 9f0032e Author: Pablo Baeyens <[email protected]> Date: Thu Jun 15 14:43:18 2023 +0200 [chore] make gotidy (open-telemetry#23412) Fixes main after open-telemetry#23257 commit ae15d8c Author: Tigran Najaryan <[email protected]> Date: Thu Jun 15 07:04:14 2023 -0400 Add zstd compression to SAPM receiver and exporter (open-telemetry#23257) - Updated github.com/signalfx/sapm-proto to v0.13.0 - Added "compression" config setting to sapm exporter - Added tests to verify various compression settings for sapm receiver and exporter. commit c2658a7 Author: Mike Dame <[email protected]> Date: Thu Jun 15 06:58:12 2023 -0400 [chore] Update GCP codeowners (open-telemetry#22781) Updating CODEOWNERS entries for GCP exporters commit c7462f2 Author: Antoine Toulme <[email protected]> Date: Wed Jun 14 23:40:16 2023 -0700 [chore] add k8sclusterreceiver e2e test (open-telemetry#23386) Adds an e2e test for k8sclusterreceiver with a golden metrics file. commit 1bf2547 Author: Andrzej Stencel <[email protected]> Date: Wed Jun 14 22:40:06 2023 +0200 [receiver/sqlquery] add support for logs (open-telemetry#20730) Fixes open-telemetry#20284 This introduces initial support for retrieving rows from SQL databases into logs. This PR aims to provide an initial, not feature rich, but production ready implementation. The following features are available: - Use `body_column` to select the column to use to fill the Body field of the created log - Use `tracking_start_value` and `tracking_column` properties to track rows that were already ingested - Use `storage` property to persist the tracking value across collector restarts In this state and marked as "development" stability, the component can be used for experimentation and to guide future development. There are definitely more things that need to be implemented for this component to be considered "alpha" quality - like filling in other [log fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) like Timestamp, ObservedTimestamp and others. I would like to add them in subsequent pull requests, as this pull request is already way too big. --------- Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> commit e7608db Author: Irina <[email protected]> Date: Wed Jun 14 19:50:04 2023 +0100 [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733) **Description:** There is currently no way to get the [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396) field from plog.LogRecord into Loki. Added Flags field to lokiEntry in this PR **Link to tracking Issue:** open-telemetry#21650 **Testing:** Added unit tests commit 50bbb9f Author: Ben B <[email protected]> Date: Wed Jun 14 20:42:33 2023 +0200 [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384) cc @jpkrohling @pavankrish123 Signed-off-by: Benedikt Bongartz <[email protected]> commit a4dda5b Author: Vastin <[email protected]> Date: Wed Jun 14 13:12:48 2023 -0500 [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626) **Description:** This PR adds [exponential histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram) support in `awsemfexporter`. The exponential histogram metrics are exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and Min are set as Statistical Set. The mid-point values and counts of exponential histogram buckets are translated into Values/Counts array of EMF log entry as well. **Testing:** The unit test is added and covers positive, zero and negative values. The integration test is performed with following OTEL collector configuration. ``` extensions: health_check: receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 processors: batch/metrics: timeout: 60s exporters: logging: verbosity: detailed awsemf: region: 'us-east-1' namespace: "Test" dimension_rollup_option: "NoDimensionRollup" service: pipelines: metrics: receivers: [otlp] processors: [batch/metrics] exporters: [awsemf, logging] extensions: [health_check] telemetry: logs: level: "debug" ``` It generated EMF log for histogram metrics in following JSON format. Notes: It doesn't cover negative values since histograms can [only record non-negative values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram) and will [drop negative values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44). ``` "latency": { "Values": [ 309.4277237034415, 323.12725941969757, 326.64588457862067, 344.8221530867399, 520.3933272846809, 531.7884573308439, 537.579253961712, 543.4331082335607, 549.3507067990806, 555.3327437881196, 561.3799208891041, 567.4929474313465, 720.1774681373079, 0 ], "Counts": [ 1, 1, 1, 1, 1, 3, 4, 2, 2, 3, 1, 1, 1, 22 ], "Max": 720, "Min": 0, "Count": 44, "Sum": 11265 } ``` commit f66845f Author: Ben B <[email protected]> Date: Wed Jun 14 20:09:35 2023 +0200 [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739) Closes open-telemetry#22737 --------- Signed-off-by: Benedikt Bongartz <[email protected]> commit 6a83a9a Author: Dominik Rosiek <[email protected]> Date: Wed Jun 14 19:11:38 2023 +0200 [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337) Deprecate options which are going to be removed **Link to tracking Issue:** open-telemetry#23059 --------- Signed-off-by: Dominik Rosiek <[email protected]> Co-authored-by: Mikołaj Świątek <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit 3faedfc Author: OpenTelemetry Bot <[email protected]> Date: Wed Jun 14 09:39:22 2023 -0700 [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380) Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awsxrayreceiver commit d9326aa Author: Alex Boten <[email protected]> Date: Wed Jun 14 09:13:30 2023 -0700 [chore] mark components as unmaintained (open-telemetry#23379) These components no longer have an active code owner as a result of Signed-off-by: Alex Boten <[email protected]> commit 8729c16 Author: Daniel Jaglowski <[email protected]> Date: Wed Jun 14 09:32:35 2023 -0600 [chore] Enable exhaustive linter for several modules (open-telemetry#23329) Updates open-telemetry#23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza commit 52d87f8 Author: Evan Bradley <[email protected]> Date: Wed Jun 14 11:30:51 2023 -0400 [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143) This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context. **Link to tracking Issue:** Implements open-telemetry#18461 Co-authored-by: Matej Gera <[email protected]> --------- Co-authored-by: Evan Bradley <[email protected]> Co-authored-by: Matej Gera <[email protected]> commit 31bfef7 Author: Alex Boten <[email protected]> Date: Wed Jun 14 08:18:27 2023 -0700 [chore] bump go version for linting (open-telemetry#23346) After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment) I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues. --------- Signed-off-by: Alex Boten <[email protected]> commit d79f3c0 Author: Curtis Robert <[email protected]> Date: Wed Jun 14 08:05:56 2023 -0700 [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368) As a result of issue open-telemetry#23246, a few components are now unmaintained. These need to be documented in the ALLOWLIST file. commit 19e2a2d Author: Tomáš Žďára <[email protected]> Date: Wed Jun 14 11:22:35 2023 +0200 DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250) * DSET-3998 - export Logs resource info based on export_resource_info_on_event configuration * DSET-3998 - simplify * DSET-3998 - improve docs * Fix log exporter to set AddEvents Event timestamp (ts) field to event observed timetamp in case LogRecord doesn't contain timestamp. Even though ObservedTimestamp should always be present, we fall back to current time in case it's not. In addition to that, remove duplicate and redundant "timestamp" attribute from the AddEvents event. * Add additional assertions. * Remove dummy debug logs. * Create export-logs-resource-info-based-configuration * address PR notes - fix changelog gen * fix docs typo * fix changelog file suffix --------- Co-authored-by: Tomaz Muraus <[email protected]> Co-authored-by: Tomaz Muraus <[email protected]> commit 5a582d9 Author: Antoine Toulme <[email protected]> Date: Wed Jun 14 00:31:28 2023 -0700 [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366) Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric. commit 16df49f Author: Sean Marciniak <[email protected]> Date: Wed Jun 14 12:00:31 2023 +0930 [chore] Fix datadog receiver flakey test. (open-telemetry#23336) * Use random address * Bind to localhost interface commit 9f854da Author: Mikołaj Świątek <[email protected]> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <[email protected]> Date: Tue Jun 13 12:57:55 2023 -0700 [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345) Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver commit 6bf41e4 Author: Mackenzie <[email protected]> Date: Tue Jun 13 18:33:39 2023 +0200 Add metadata.yaml as a requirement (open-telemetry#23340) Fixes: open-telemetry#20908. --------- Co-authored-by: Yang Song <[email protected]> commit 563fd6f Author: Alex Boten <[email protected]> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <[email protected]> commit d2c7c1f Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 13 09:45:00 2023 -0600 [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280) commit 375da69 Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 13 08:23:00 2023 -0600 [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281) * [chore] Deprecate unnecessary fileconsumer API * Add deprecation version and tentative removal version commit 6ac5285 Author: Dewald de Jager <[email protected]> Date: Tue Jun 13 11:20:41 2023 +0200 [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962) * Start adding the status information to the metadata schema documentation * Remove cmd from the list of possible classes * Fix spelling mistake Co-authored-by: Antoine Toulme <[email protected]> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <[email protected]> * Fix the tests after updating the example metadata file * Document how to use mdatagen and the schema of metadata.yaml * Add the stability levels for connectors * Change the receiver type so the tests pass * Update the generated documentation * Change the syntax used for string array types so that it is valid YAML --------- Co-authored-by: Antoine Toulme <[email protected]> commit 061eb3e Author: Mikołaj Świątek <[email protected]> Date: Tue Jun 13 06:29:11 2023 +0000 [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272) Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store. I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently. commit ab42d69 Author: zeno-splunk <[email protected]> Date: Mon Jun 12 22:36:54 2023 -0700 [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332) Update `kafka.brokers` metric to be non-monothonic sum instead of gauge commit 9e4d50f Author: Antoine Toulme <[email protected]> Date: Mon Jun 12 20:28:17 2023 -0700 remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248) Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus commit e0249e0 Author: Alex Boten <[email protected]> Date: Mon Jun 12 15:01:49 2023 -0700 [chore] forwardconnector was not listed in the modules script (open-telemetry#23330) this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently Signed-off-by: Alex Boten <[email protected]> commit 9d5526c Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 12 09:58:22 2023 -0600 [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255) commit bbea8aa Author: Trask Stalnaker <[email protected]> Date: Mon Jun 12 08:38:45 2023 -0700 Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268) commit 0f8e128 Author: Tyler Helmuth <[email protected]> Date: Mon Jun 12 08:45:16 2023 -0600 [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259) Update readme commit 6d35fd7 Author: Dominik Rosiek <[email protected]> Date: Mon Jun 12 16:33:47 2023 +0200 [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211) Signed-off-by: Dominik Rosiek <[email protected]> commit 88ac450 Author: Gabriel Aszalos <[email protected]> Date: Mon Jun 12 17:31:02 2023 +0300 receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851) * receiver/dockerstatsreceiver: add container.uptime metric This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started. * Add scraper error for invalid time format * Disable by default * empty commit 6947357 Author: Yang Song <[email protected]> Date: Mon Jun 12 10:27:42 2023 -0400 [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240) * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation * Add to changelog * Update exporter/datadogexporter/config.go Co-authored-by: Pablo Baeyens <[email protected]> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <[email protected]> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <[email protected]> commit b247914 Author: Raj Nishtala <[email protected]> Date: Mon Jun 12 10:26:18 2023 -0400 [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210) * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string commit 3b62a17 Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 12 07:50:37 2023 -0600 [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254) * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable * Update .chloggen/elastic-stable-nodevesiongate.yaml Co-authored-by: Pablo Baeyens <[email protected]> --------- Co-authored-by: Pablo Baeyens <[email protected]> commit 6249ae8 Author: Dominik Rosiek <[email protected]> Date: Mon Jun 12 13:09:13 2023 +0200 resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740) * resourcedetectionprocessor: use gopsutil for host id detection Signed-off-by: Dominik Rosiek <[email protected]> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]> commit 820510e Author: Ziqi Zhao <[email protected]> Date: Mon Jun 12 18:10:33 2023 +0800 [chore] [all] Enable exhaustive linter on golangci-lint (open-telemetry#23242) Enable exhaustive linter on golangci-lint Signed-off-by: Ziqi Zhao <[email protected]> commit 752330e Author: shalper2 <[email protected]> Date: Sun Jun 11 10:44:14 2023 -0500 [receiver/webhookevent] Enable component (open-telemetry#23239) Graduate webhookeventreceiver component to Alpha
JimChenWYU
added a commit
to easyops-cn/opentelemetry-collector-contrib
that referenced
this pull request
Jul 8, 2023
commit 739e583 Author: Anthony Mirabella <[email protected]> Date: Tue Jun 20 18:11:41 2023 -0400 [chore] Prepare release v0.80.0 (open-telemetry#23584) The following commands were run to prepare this release: - make chlog-update VERSION=v0.80.0 - sed -i.bak s/0.79.0/0.80.0/g versions.yaml - make multimod-prerelease - make multimod-sync Additionally, changes from open-telemetry#23583 were incorporated. --------- Signed-off-by: Anthony J Mirabella <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit e988fca Author: Alex Boten <[email protected]> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <[email protected]> commit 42dbc6c Author: Mackenzie <[email protected]> Date: Tue Jun 20 19:51:21 2023 +0200 aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572) Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. This PR adds the unit to metrics where this is missing: - aerospike.node.query.tracked commit 200778b Author: Mackenzie <[email protected]> Date: Tue Jun 20 18:51:54 2023 +0200 [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575) This func is not used. Because the receiver is the metadata struct, it would need to be called directly. This also tests field Name -- which does not exist anymore (replaced by Type). **Note:** Validation of Type will be done as part of open-telemetry#23424 commit b726aee Author: Mend Renovate <[email protected]> Date: Tue Jun 20 18:49:27 2023 +0200 chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://togithub.com/actions/download-artifact) | action | major | `v2` -> `v3` | | [actions/upload-artifact](https://togithub.com/actions/upload-artifact) | action | major | `v2` -> `v3` | --- <details> <summary>actions/download-artifact</summary> [`v3`](https://togithub.com/actions/download-artifact/compare/v2...v3) [Compare Source](https://togithub.com/actions/download-artifact/compare/v2...v3) </details> <details> <summary>actions/upload-artifact</summary> [Compare Source](https://togithub.com/actions/upload-artifact/compare/v2...v3) </details> --- 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 9d38d84 Author: Tigran Najaryan <[email protected]> Date: Tue Jun 20 12:13:20 2023 -0400 [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455) - Added gzip and zstd tests to SAPM trace test. - Modified GenerateTraces to generate more variable data to make sure it is a more fair comparison when compression is enabled (otherwise it was compressing too well and was not representative of real-world workloads). This makes easier to see the impact of added zstd compression done in open-telemetry#23257 commit 9a5f723 Author: rubenruizdegauna <[email protected]> Date: Tue Jun 20 07:42:56 2023 +0200 [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451) Currently `process.cpu.utilization` is not sent when it is enabled if `process.cpu.time` is disabled. It should be sent independently of `process.cpu.time` commit ad2e101 Author: Mackenzie <[email protected]> Date: Tue Jun 20 07:21:06 2023 +0200 [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454) This PR adds the bytes unit to metrics where this is missing. unit is a required field, see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. commit d89a6e1 Author: Bartosz Sławianowski <[email protected]> Date: Mon Jun 19 21:13:53 2023 +0200 [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453) Kubernetes namespace is a cluster-scoped resource and doesn't seem to have populated `namespace` field in Kubernetes (at least on 1.25.x and 1.26.x). This PR changes it so the name of the namespace is simply taken from `name` field instead. commit 6ee548b Author: Antoine Toulme <[email protected]> Date: Mon Jun 19 10:51:31 2023 -0700 [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438) Switch k8s.node metrics to use pdata. commit 5fff104 Author: Gabriel Aszalos <[email protected]> Date: Mon Jun 19 13:13:11 2023 +0300 {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445) This change bumps the opentelemetry-mapping-go dependency to v0.5.0 which contains the metric remapping code. As a result, it is removed from the exporter. commit b719459 Author: Antoine Toulme <[email protected]> Date: Sat Jun 17 10:50:17 2023 -0700 [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437) Switch k8s.namespace metrics to use pdata. commit b2238b9 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 23:08:30 2023 -0700 [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434) To reduce RAM utilization. Resolves open-telemetry#23433 This is the last PR to reduce the memory footprint of k8s API informers. Other objects are more static and usually don't have a lot of instances in user clusters, so there is no need to reduce their size. commit 1c84fb2 Author: Dominik Rosiek <[email protected]> Date: Sat Jun 17 06:24:40 2023 +0200 feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274) **Description:** deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors` ``` 2023-06-12T08:29:43.306+0200 info service/telemetry.go:104 Setting up own telemetry... 2023-06-12T08:29:43.306+0200 info service/telemetry.go:127 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-06-12T08:29:43.306+0200 info [email protected]/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "metrics", "name": "logging"} 2023-06-12T08:29:43.308+0200 info service/service.go:131 Starting otelcontribcol... {"Version": "0.79.0-dev", "NumCPU": 16} 2023-06-12T08:29:43.308+0200 info extensions/extensions.go:30 Starting extensions... 2023-06-12T08:29:43.308+0200 warn [email protected]/scraper.go:60 `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead {"kind": "receiver", "name": "mysql", "data_type": "metrics"} 2023-06-12T08:29:43.308+0200 info service/service.go:148 Everything is ready. Begin running and processing data. ^C2023-06-12T08:29:44.055+0200 info otelcol/collector.go:227 Received signal from OS {"signal": "interrupt"} 2023-06-12T08:29:44.056+0200 info service/service.go:157 Starting shutdown... ``` --------- Signed-off-by: Dominik Rosiek <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]> Co-authored-by: Curtis Robert <[email protected]> commit c8cf780 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 15:00:42 2023 -0700 [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432) Do not store unused data for deployments, statefulsets and daemonsets in k8s API cache to reduce RAM usage. Updates open-telemetry#23433 commit 0ccde43 Author: Mackenzie <[email protected]> Date: Fri Jun 16 21:01:32 2023 +0200 Document extension as value for stability in metadata.yaml (open-telemetry#23426) Currently, this is used in all extensions (e.g. [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)), but this is not documented in `metadata-schema.yaml`. commit 8869951 Author: Dmitrii Anoshin <[email protected]> Date: Fri Jun 16 11:51:00 2023 -0700 Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431) …rnal metrics (open-telemetry#23369)" This reverts commit 42bca6f. Revert it until open-telemetry#23369 (comment) is resolved to avoid adding it to the next release Co-authored-by: Ziqi Zhao <[email protected]> commit 6ad0589 Author: Mackenzie <[email protected]> Date: Fri Jun 16 19:21:23 2023 +0200 [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213) This PR adds the resource attributes added by the k8sattributes processor to the metadata.yaml file in the resource_attributes group. Only the attributes which are added by default (see [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration)) are marked as enabled. The default resource attributes defined in metadata.yaml are used to make the default extract::metadata list. Resource attributes are exposed through a different configuration interface. This is noted in the metadata.yaml file. commit a4585ce Author: Antoine Toulme <[email protected]> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <[email protected]> Date: Fri Jun 16 08:50:14 2023 -0700 [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416) commit 0ae07ba Author: Pablo Baeyens <[email protected]> Date: Fri Jun 16 11:05:52 2023 +0200 [chore] Clean up CODEOWNERS (open-telemetry#23382) **Description:** Clean up CODEOWNERS file to remove redundant lines; add these to the ALLOWLIST. **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG commit a5cdd2f Author: atshaw43 <[email protected]> Date: Fri Jun 16 00:11:17 2023 -0700 [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110 commit 42bca6f Author: Ziqi Zhao <[email protected]> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <[email protected]> commit 559f19c Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 19:25:45 2023 -0700 [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419) **Description:** Switch k8s.rq metrics to use pdata. commit 2e11f46 Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 19:25:20 2023 -0700 [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420) commit 5cfcdeb Author: Dmitrii Anoshin <[email protected]> Date: Thu Jun 15 17:59:51 2023 -0700 [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417) This change removes unused k8s informer data from the cache to reduce RAM utilization. Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage. commit 260f34f Author: linfn <[email protected]> Date: Fri Jun 16 02:44:06 2023 +0800 [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799) In Skywalking, parentSpanId == -1 indicates that the span is [the first span within the current segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119), rather than within the entire trace. Leaving parentSpanId blank can cause the call relationship to be lost when crossing segments. commit f709809 Author: Sam DeHaan <[email protected]> Date: Thu Jun 15 14:42:59 2023 -0400 [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363) Access Logs required permissions for monitoring were not documented in the receiver README. Should have been documented for open-telemetry#21182 commit 8885502 Author: Raj Nishtala <[email protected]> Date: Thu Jun 15 14:41:37 2023 -0400 [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414) Updating CODEOWNERS for processor/groupbyattrsprocessor commit d98e12b Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 10:16:33 2023 -0700 [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408) Rebase of open-telemetry#18250 with latest main. --------- Signed-off-by: Bogdan Drutu <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]> commit e6e1e76 Author: Dmitrii Anoshin <[email protected]> Date: Thu Jun 15 10:10:13 2023 -0700 [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403) Do not drop `container.cpu.time` metric in the default translations so it can be enabled in the `include_metrics` config option. This is the only metric that is dropped in the translations. All other metrics are being kept. commit 65a1dea Author: Antoine Toulme <[email protected]> Date: Thu Jun 15 08:09:39 2023 -0700 [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410) Try sending data a few times to fix flakiness of test. **Link to tracking Issue:** Fixes open-telemetry#23381 commit 9f0032e Author: Pablo Baeyens <[email protected]> Date: Thu Jun 15 14:43:18 2023 +0200 [chore] make gotidy (open-telemetry#23412) Fixes main after open-telemetry#23257 commit ae15d8c Author: Tigran Najaryan <[email protected]> Date: Thu Jun 15 07:04:14 2023 -0400 Add zstd compression to SAPM receiver and exporter (open-telemetry#23257) - Updated github.com/signalfx/sapm-proto to v0.13.0 - Added "compression" config setting to sapm exporter - Added tests to verify various compression settings for sapm receiver and exporter. commit c2658a7 Author: Mike Dame <[email protected]> Date: Thu Jun 15 06:58:12 2023 -0400 [chore] Update GCP codeowners (open-telemetry#22781) Updating CODEOWNERS entries for GCP exporters commit c7462f2 Author: Antoine Toulme <[email protected]> Date: Wed Jun 14 23:40:16 2023 -0700 [chore] add k8sclusterreceiver e2e test (open-telemetry#23386) Adds an e2e test for k8sclusterreceiver with a golden metrics file. commit 1bf2547 Author: Andrzej Stencel <[email protected]> Date: Wed Jun 14 22:40:06 2023 +0200 [receiver/sqlquery] add support for logs (open-telemetry#20730) Fixes open-telemetry#20284 This introduces initial support for retrieving rows from SQL databases into logs. This PR aims to provide an initial, not feature rich, but production ready implementation. The following features are available: - Use `body_column` to select the column to use to fill the Body field of the created log - Use `tracking_start_value` and `tracking_column` properties to track rows that were already ingested - Use `storage` property to persist the tracking value across collector restarts In this state and marked as "development" stability, the component can be used for experimentation and to guide future development. There are definitely more things that need to be implemented for this component to be considered "alpha" quality - like filling in other [log fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) like Timestamp, ObservedTimestamp and others. I would like to add them in subsequent pull requests, as this pull request is already way too big. --------- Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> commit e7608db Author: Irina <[email protected]> Date: Wed Jun 14 19:50:04 2023 +0100 [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733) **Description:** There is currently no way to get the [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396) field from plog.LogRecord into Loki. Added Flags field to lokiEntry in this PR **Link to tracking Issue:** open-telemetry#21650 **Testing:** Added unit tests commit 50bbb9f Author: Ben B <[email protected]> Date: Wed Jun 14 20:42:33 2023 +0200 [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384) cc @jpkrohling @pavankrish123 Signed-off-by: Benedikt Bongartz <[email protected]> commit a4dda5b Author: Vastin <[email protected]> Date: Wed Jun 14 13:12:48 2023 -0500 [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626) **Description:** This PR adds [exponential histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram) support in `awsemfexporter`. The exponential histogram metrics are exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and Min are set as Statistical Set. The mid-point values and counts of exponential histogram buckets are translated into Values/Counts array of EMF log entry as well. **Testing:** The unit test is added and covers positive, zero and negative values. The integration test is performed with following OTEL collector configuration. ``` extensions: health_check: receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 processors: batch/metrics: timeout: 60s exporters: logging: verbosity: detailed awsemf: region: 'us-east-1' namespace: "Test" dimension_rollup_option: "NoDimensionRollup" service: pipelines: metrics: receivers: [otlp] processors: [batch/metrics] exporters: [awsemf, logging] extensions: [health_check] telemetry: logs: level: "debug" ``` It generated EMF log for histogram metrics in following JSON format. Notes: It doesn't cover negative values since histograms can [only record non-negative values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram) and will [drop negative values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44). ``` "latency": { "Values": [ 309.4277237034415, 323.12725941969757, 326.64588457862067, 344.8221530867399, 520.3933272846809, 531.7884573308439, 537.579253961712, 543.4331082335607, 549.3507067990806, 555.3327437881196, 561.3799208891041, 567.4929474313465, 720.1774681373079, 0 ], "Counts": [ 1, 1, 1, 1, 1, 3, 4, 2, 2, 3, 1, 1, 1, 22 ], "Max": 720, "Min": 0, "Count": 44, "Sum": 11265 } ``` commit f66845f Author: Ben B <[email protected]> Date: Wed Jun 14 20:09:35 2023 +0200 [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739) Closes open-telemetry#22737 --------- Signed-off-by: Benedikt Bongartz <[email protected]> commit 6a83a9a Author: Dominik Rosiek <[email protected]> Date: Wed Jun 14 19:11:38 2023 +0200 [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337) Deprecate options which are going to be removed **Link to tracking Issue:** open-telemetry#23059 --------- Signed-off-by: Dominik Rosiek <[email protected]> Co-authored-by: Mikołaj Świątek <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit 3faedfc Author: OpenTelemetry Bot <[email protected]> Date: Wed Jun 14 09:39:22 2023 -0700 [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380) Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awsxrayreceiver commit d9326aa Author: Alex Boten <[email protected]> Date: Wed Jun 14 09:13:30 2023 -0700 [chore] mark components as unmaintained (open-telemetry#23379) These components no longer have an active code owner as a result of Signed-off-by: Alex Boten <[email protected]> commit 8729c16 Author: Daniel Jaglowski <[email protected]> Date: Wed Jun 14 09:32:35 2023 -0600 [chore] Enable exhaustive linter for several modules (open-telemetry#23329) Updates open-telemetry#23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza commit 52d87f8 Author: Evan Bradley <[email protected]> Date: Wed Jun 14 11:30:51 2023 -0400 [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143) This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context. **Link to tracking Issue:** Implements open-telemetry#18461 Co-authored-by: Matej Gera <[email protected]> --------- Co-authored-by: Evan Bradley <[email protected]> Co-authored-by: Matej Gera <[email protected]> commit 31bfef7 Author: Alex Boten <[email protected]> Date: Wed Jun 14 08:18:27 2023 -0700 [chore] bump go version for linting (open-telemetry#23346) After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment) I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues. --------- Signed-off-by: Alex Boten <[email protected]> commit d79f3c0 Author: Curtis Robert <[email protected]> Date: Wed Jun 14 08:05:56 2023 -0700 [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368) As a result of issue open-telemetry#23246, a few components are now unmaintained. These need to be documented in the ALLOWLIST file. commit 19e2a2d Author: Tomáš Žďára <[email protected]> Date: Wed Jun 14 11:22:35 2023 +0200 DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250) * DSET-3998 - export Logs resource info based on export_resource_info_on_event configuration * DSET-3998 - simplify * DSET-3998 - improve docs * Fix log exporter to set AddEvents Event timestamp (ts) field to event observed timetamp in case LogRecord doesn't contain timestamp. Even though ObservedTimestamp should always be present, we fall back to current time in case it's not. In addition to that, remove duplicate and redundant "timestamp" attribute from the AddEvents event. * Add additional assertions. * Remove dummy debug logs. * Create export-logs-resource-info-based-configuration * address PR notes - fix changelog gen * fix docs typo * fix changelog file suffix --------- Co-authored-by: Tomaz Muraus <[email protected]> Co-authored-by: Tomaz Muraus <[email protected]> commit 5a582d9 Author: Antoine Toulme <[email protected]> Date: Wed Jun 14 00:31:28 2023 -0700 [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366) Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric. commit 16df49f Author: Sean Marciniak <[email protected]> Date: Wed Jun 14 12:00:31 2023 +0930 [chore] Fix datadog receiver flakey test. (open-telemetry#23336) * Use random address * Bind to localhost interface commit 9f854da Author: Mikołaj Świątek <[email protected]> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <[email protected]> Date: Tue Jun 13 12:57:55 2023 -0700 [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345) Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver commit 6bf41e4 Author: Mackenzie <[email protected]> Date: Tue Jun 13 18:33:39 2023 +0200 Add metadata.yaml as a requirement (open-telemetry#23340) Fixes: open-telemetry#20908. --------- Co-authored-by: Yang Song <[email protected]> commit 563fd6f Author: Alex Boten <[email protected]> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <[email protected]> commit d2c7c1f Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 13 09:45:00 2023 -0600 [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280) commit 375da69 Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 13 08:23:00 2023 -0600 [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281) * [chore] Deprecate unnecessary fileconsumer API * Add deprecation version and tentative removal version commit 6ac5285 Author: Dewald de Jager <[email protected]> Date: Tue Jun 13 11:20:41 2023 +0200 [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962) * Start adding the status information to the metadata schema documentation * Remove cmd from the list of possible classes * Fix spelling mistake Co-authored-by: Antoine Toulme <[email protected]> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <[email protected]> * Fix the tests after updating the example metadata file * Document how to use mdatagen and the schema of metadata.yaml * Add the stability levels for connectors * Change the receiver type so the tests pass * Update the generated documentation * Change the syntax used for string array types so that it is valid YAML --------- Co-authored-by: Antoine Toulme <[email protected]> commit 061eb3e Author: Mikołaj Świątek <[email protected]> Date: Tue Jun 13 06:29:11 2023 +0000 [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272) Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store. I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently. commit ab42d69 Author: zeno-splunk <[email protected]> Date: Mon Jun 12 22:36:54 2023 -0700 [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332) Update `kafka.brokers` metric to be non-monothonic sum instead of gauge commit 9e4d50f Author: Antoine Toulme <[email protected]> Date: Mon Jun 12 20:28:17 2023 -0700 remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248) Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus commit e0249e0 Author: Alex Boten <[email protected]> Date: Mon Jun 12 15:01:49 2023 -0700 [chore] forwardconnector was not listed in the modules script (open-telemetry#23330) this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently Signed-off-by: Alex Boten <[email protected]> commit 9d5526c Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 12 09:58:22 2023 -0600 [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255) commit bbea8aa Author: Trask Stalnaker <[email protected]> Date: Mon Jun 12 08:38:45 2023 -0700 Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268) commit 0f8e128 Author: Tyler Helmuth <[email protected]> Date: Mon Jun 12 08:45:16 2023 -0600 [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259) Update readme commit 6d35fd7 Author: Dominik Rosiek <[email protected]> Date: Mon Jun 12 16:33:47 2023 +0200 [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211) Signed-off-by: Dominik Rosiek <[email protected]> commit 88ac450 Author: Gabriel Aszalos <[email protected]> Date: Mon Jun 12 17:31:02 2023 +0300 receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851) * receiver/dockerstatsreceiver: add container.uptime metric This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started. * Add scraper error for invalid time format * Disable by default * empty commit 6947357 Author: Yang Song <[email protected]> Date: Mon Jun 12 10:27:42 2023 -0400 [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240) * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation * Add to changelog * Update exporter/datadogexporter/config.go Co-authored-by: Pablo Baeyens <[email protected]> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <[email protected]> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <[email protected]> commit b247914 Author: Raj Nishtala <[email protected]> Date: Mon Jun 12 10:26:18 2023 -0400 [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210) * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string commit 3b62a17 Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 12 07:50:37 2023 -0600 [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254) * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable * Update .chloggen/elastic-stable-nodevesiongate.yaml Co-authored-by: Pablo Baeyens <[email protected]> --------- Co-authored-by: Pablo Baeyens <[email protected]> commit 6249ae8 Author: Dominik Rosiek <[email protected]> Date: Mon Jun 12 13:09:13 2023 +0200 resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740) * resourcedetectionprocessor: use gopsutil for host id detection Signed-off-by: Dominik Rosiek <[email protected]> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]> commit 820510e Author: Ziqi Zhao <[email protected]> Date: Mon Jun 12 18:10:33 2023 +0800 [chore] [all] Enable exhaustive linter on golangci-lint (open-telemetry#23242) Enable exhaustive linter on golangci-lint Signed-off-by: Ziqi Zhao <[email protected]> commit 752330e Author: shalper2 <[email protected]> Date: Sun Jun 11 10:44:14 2023 -0500 [receiver/webhookevent] Enable component (open-telemetry#23239) Graduate webhookeventreceiver component to Alpha Co-authored-by: jimchen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change adds the
container.uptime
metric which indicates time elapsed (in seconds) since the container started.Updates #22037